package entity;

import java.util.Date;

public class Absence {
    private int absenceId;
    private int studentId;
    private String studentName;
    private String dormBuildName;
    private String dormName;
    private Date absenceDate;
    private String reason;
    private String registrar;
    private Date createTime;

    // 构造函数
    public Absence() {}

    // Getter和Setter方法
    public int getAbsenceId() { return absenceId; }
    public void setAbsenceId(int absenceId) { this.absenceId = absenceId; }

    public int getStudentId() { return studentId; }
    public void setStudentId(int studentId) { this.studentId = studentId; }

    public String getStudentName() { return studentName; }
    public void setStudentName(String studentName) { this.studentName = studentName; }

    public String getDormBuildName() { return dormBuildName; }
    public void setDormBuildName(String dormBuildName) { this.dormBuildName = dormBuildName; }

    public String getDormName() { return dormName; }
    public void setDormName(String dormName) { this.dormName = dormName; }

    public Date getAbsenceDate() { return absenceDate; }
    public void setAbsenceDate(Date absenceDate) { this.absenceDate = absenceDate; }

    public String getReason() { return reason; }
    public void setReason(String reason) { this.reason = reason; }

    public String getRegistrar() { return registrar; }
    public void setRegistrar(String registrar) { this.registrar = registrar; }

    public Date getCreateTime() { return createTime; }
    public void setCreateTime(Date createTime) { this.createTime = createTime; }
}